package network

type Peer interface {
	Start(addr string) Peer
	Stop()
	//SetName(string)
	//Name() string

	EventQueue
	SesManager
}

type SesManager interface {
	GetSession(int64) Session
	IterateSession(func(Session) bool)
	SesCount() int
}
